<div id="div-user-login">
  <table>
    <caption><h2><a href="/users/register">1分钟快速注册</a></h2></caption>
    <form action="/users/login" method="post">
      <tr>
	<td>用户名：</td>
	<td><input type="text" name="username" value="<%$post.username%>"/></td>
      </tr>
      <tr>
	<td>密码：</td>
	<td><input type="password" name="password"/></td>
      </tr>
      <tr>
	<td>&nbsp;</td>
	<td><input type="submit" class="button" value="登录"/>
          <a href="/users/register">注册</a>
	</td>
      </tr>
      <tr>
	<td>&nbsp;</td>
	<td><span class="hint-error"><%$error%></span></td>
      </tr>
    </form>
  </table>
</div>

<div id='oauth-login'>
  <h2>联合登录</h2>
 <!-- <a class="left" href="/utility/redirect?oauth=<%$OAUTH_TYPE_QQ%>"><img src="<%$IMG_DIR%>/qq_login_mid.png"/></a>-->
  <a class="left" href="/utility/redirect?oauth=<%$OAUTH_TYPE_KAIXIN%>"><img src="<%$IMG_DIR%>/kaixin-login.png"/></a>
  <div class="clear">
  </div>
  <a  class="left" href="/utility/redirect?oauth=<%$OAUTH_TYPE_RENREN%>"><img src="<%$IMG_DIR%>/renren-login.png"/></a>
  <a  class="left" href="/utility/redirect?oauth=<%$OAUTH_TYPE_WEIBO%>"><img src="<%$IMG_DIR%>/sina-login.png"/></a>
  <div class="clear">
  </div>
</div>
<div class="clear">
</div>

